﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VideoCache.Spider
{
    public class BaiduAlbum
    {
        public string tieba { get; set; }
        public string rating { get; set; }
        public string brief { get; set; }
        public string al_date { get; set; }
        public string id { get; set; }
        public string title_eng { get; set; }
        public string ty { get; set; }
        public string big_poster { get; set; }
        public string[] actor { get; set; }
        public string season_num { get; set; }
        public string pc_detail_url { get; set; }
        public string version { get; set; }
        public string poster { get; set; }
        public string tiebaEnc { get; set; }
        public string[] type { get; set; }
        public string vertical_img_sign1 { get; set; }
        public string vertical_img_sign2 { get; set; }
        public string[] area { get; set; }
        public string finish { get; set; }
        public string season { get; set; }
        public string pm_query { get; set; }
        public string site_no { get; set; }
        public string[] director { get; set; }
        public string[] s_intro { get; set; }
        public string trunk { get; set; }
        public string utf8word { get; set; }
        public string enword { get; set; }
        public string episode { get; set; }
        public string language { get; set; }
        public string season_type { get; set; }
        public string title { get; set; }
        public string brief_short { get; set; }
        public string[] alias { get; set; }
        public string update_freq { get; set; }
        public string cur_episodes { get; set; }
        public string titleEnc { get; set; }
        public string max_episode { get; set; }
        public string pubtime { get; set; }

        public BaiduSiteInfo[] sites { get; set; }
    }

    public class BaiduSiteInfo
    {
        public string site_logo { get; set; }
        public string site_name { get; set; }
        public string site_url { get; set; }
        public string max_episode { get; set; }

        public BaiduEpisodeInfo[] episode { get; set; }
    }

    public class BaiduEpisodeInfo
    {
        public string url_prefix { get; set; }
        public string episode { get; set; }
        public string is_play { get; set; }
        public string title { get; set; }
        public string url { get; set; }
        public string site_url { get; set; }
        public string single_title { get; set; }
        public string img_url { get; set; }
    }

    public class BaiduSiteCollection
    {
        public string site { get; set; }
        public int res_num { get; set; }
        public string id { get; set; }
        public string year { get; set; }
        public string max_episode { get; set; }
        public BaiduSiteInfo[] sites { get; set; }
        public BaiduEpisodeInfo[] videos { get; set; }
    }

    public enum BaiduAlbumType
    {
        Movie,
        Tv,
        ZongYi,
        Dongman
    }
}
